<?php
	abstract class Controller
	{
		protected $_registry;
		protected $db;

		function __construct($registry)
		{
				$this->registry = $registry;
				$this->db = new Database(Application::getParameter('dbserver'),
											Application::getParameter('dbname'),
											Application::getParameter('dbuser'),
											Application::getParameter('dbpassword'));
		}

		abstract function index($args);
	}
	
?>